/**
 * DaoChong Js Framework
 */
var __dc_script_temp = document.scripts[document.scripts.length - 1].src;
var __dc_sp = "/";
if (__dc_script_temp.indexOf(__dc_sp) == -1) {
	__dc_sp = "\\";
}
var __dc_resource_path = __dc_sp + "resources";
__dc_script_temp = __dc_script_temp.substring(0, __dc_script_temp
		.lastIndexOf(__dc_resource_path));
var __dc_host;
var __dc_context = "";
if (__dc_sp = "/") {
	__dc_host = __dc_script_temp.substring(0, __dc_script_temp.indexOf(__dc_sp,
			9));
	__dc_context = __dc_script_temp.substring(__dc_script_temp.indexOf(__dc_sp,
			9) + 1);
} else {
	__dc_host = __dc_context;
}
var Dc = function() {

};
Dc.fn = Dc.prototype = {
	version : "1.0.0",
	sp : __dc_sp,
	contextPath : __dc_context,
	host : __dc_host,
	resourcePath : __dc_resource_path,
	resourcePathUrl : __dc_host + __dc_resource_path
}
Dc.extend = Dc.fn.extend = function() {

}